package com.happyfamily.springboot.crowdsourcingplatform.dao.weng;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface TotalDao
{

	@Select("select count(*) from need")
	int getNeedNumber();

	@Select("select count(*) from work")
	int getWorkNumber();

	@Select("select count(*) from orders")
	int getOrderNumber();

	@Select("select count(*) from tender")
	int getTenderNumber();

	@Select("select count(*) from friendship_link")
	int getFriendNumber();

	@Select("select count(*) from exposure")
	int getExposureNumber();
}
